#include "Mylist.hpp"
#include "Myvector.hpp"
#include <iostream>
using namespace std;

void Test1(){
  int arr[] = {1,2,3,4,5,6};
  Mylist<int> mlt(arr, arr+6); 
  for(auto it = mlt.begin(); it!=mlt.end(); ++it)
  {
    cout << *it << " ";
  }
  cout << endl;

  for(auto it = mlt.rbegin(); it!=mlt.rend(); ++it)
  {
    cout << *it << " ";
  }
  cout << endl;
}

void Test2(){
  int arr[] = {6,5,4,3,2,1};
  Myvector<int> mlt(arr, arr+6); 
  for(auto it = mlt.begin(); it!=mlt.end(); ++it)
  {
    cout << *it << " ";
  }
  cout << endl;

  for(auto it = mlt.rbegin(); it!=mlt.rend(); ++it)
  {
    cout << *it << " ";
  }
  cout << endl;
}

int main(){
  Test2();
}
